﻿<%@ WebHandler Language="C#" Class="getContent" %>

using System;
using System.Web;
using BLL;
public class getContent : IHttpHandler {
    
    public void ProcessRequest (HttpContext context) {
        context.Response.ContentType = "text/plain";
		int id = int.Parse(context.Request.Form.Get("id"));
		var obj = new BllAss().GetSingle(id);
        context.Response.Write(obj.content);
    }
 
    public bool IsReusable {
        get {
            return false;
        }
    }

}